package com.yunfeng.aolin.service;

import java.util.List;

import org.springframework.data.jpa.domain.Specification;

import com.yunfeng.aolin.entity.SendMaterials;
import com.yunfeng.common.util.Page;

public interface SendMaterialsService {
	SendMaterials get(Long id);

	void saveOrUpdate(SendMaterials sendMaterials);

	void delete(Long id);

	List<SendMaterials> findAll();

	List<SendMaterials> findAll(Page page);

	List<SendMaterials> findByLiaohao(Page page, String liaohao);
	
	List<SendMaterials> findByExample(Specification<SendMaterials> specification, Page page);
}
